package com.pkk.cloud.support.admin.dto.resp.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: 系统用户响应类
 * @author: peikunkun
 * @create: 2020-03-06 17:24
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthSysUserQueryPageRespDto implements Serializable {

  private static final long serialVersionUID = -5466255335098389011L;

  private Long id;

  /**
   * 用户账号
   */
  private String uname;

  /**
   * 昵称
   */
  private String nickname;


  /**
   * 角色信息
   */
  private String roleName;

  /**
   * 访问客户端的名称
   */
  private String clientName;

  /**
   * 邮箱
   */
  private String email;

  /**
   * 头像地址
   */
  private String headImage;

  /**
   * 是否启用1:启用,0删除
   */
  private Boolean isEnable;

  /**
   * 创建时间
   */
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;

}
